# -*- mode: snippet -*-
# name: $rootScope.$on('$stateChangeError', ...);
# key: aon
# group: angular
# --
$rootScope.$on('$stateChangeError', function (event, toState, toParams, fromState, fromParams, error) {
  console.log('stateChangeError called. error=', error);
});
